0ea91ae7befa30f59751bccd900cfbb6bbb03776,demos/Eclipse/AppMenuDemo/src/com/example/appmenudemo/Controls.java,jTextFileManager,ShareFromSdCardFile,#String#,5750

Before Change


  //Once you choose bluetooth, the android bluetooth application will launch and let you pick the device to send it too.
    public void ShareFromSdCardFile(String _filename) {        	
    	//File externalFile = new File(Environment.getExternalStorageDirectory().getPath() +"/"+ _filename);
    	File file = new File(Environment.getExternalStorageDirectory(), _filename);    	    	    	 
    	intent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(file));
    	controls.activity.startActivity(intent);    	
    }
        
   //Once you choose bluetooth, the android bluetooth application will launch and let you pick the device to send it too.

After Change


			}									
	}	
	
	public void ShareFromInternalAppStorage(String _filename, String _mimetype) {	 
	  String srcPath = controls.activity.getFilesDir().getAbsolutePath()+"/"+ _filename;       //Result : /data/data/com/MyApp/files	 
	  String destPath = mTransitoryEnvironmentDirectoryPath + "/" + _filename;	  
	  CopyFile(srcPath, destPath);	  
	  ShareFrom(destPath, _mimetype);	  	   
	}
		
	public void ShareFrom(String _fullFilename, String _mimetype) {